<script>
    $(function () {
        $('#update').on('click',function () {
            var index = layer.open({
                type:2,
                title:'修改',
                area:['80%','80%'],
                content:'{:url("update",array("id"=>$data.id))}'
            })
            layer.full(index)
        })

        //在地图上重新标注
        $('#biaozhumap').click(function () {
            var index = layer.open({
                type:2,
                title:'在地图上重新标注',
                area:['80%','80%'],
                content:'{:url("map",array("id"=>$data.id))}'
            })
        })
    })
</script>